//
//  DaraDetailViewController.m
//  WowDara
//
//  Created by Siroj Chongkolwanont on 5/5/56 BE.
//  Copyright (c) 2556 Siroj Chongkolwanont. All rights reserved.
//

#import "DaraDetailViewController.h"

@interface DaraDetailViewController ()

@end

@implementation DaraDetailViewController

@synthesize detailView;
@synthesize label;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
        label.text = @"XXXX";
    if (self) {
        // Custom initialization
    }
    

    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    [detailView loadHTMLString:@"XXXX" baseURL:nil];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)loadDetail:(NSString *)detail
{
    [ detailView loadHTMLString:detail baseURL:nil];
    [ self viewDidLoad];
    
    label.text = @"XXXX";
}

@end
